#pragma once
#include "Character.h"

class Enemy : public Character
{

public:
	Enemy(string name, short maxHP, int hP, short attack, short defense)
	{
		this->name = name;
		this->maxHP = maxHP;
		this->hP = hP;
		this->attack = attack;
		this->defense = defense;
	}

	string getName()
	{
		return name;
	}

	short getMaxHP()
	{
		return maxHP;
	}

	int getHP()
	{
		return hP;
	}

	void damageTaken(int damage)
	{
		hP -= (damage - defense);
	}

	short getAttack()
	{
		return attack;
	}

	D3DXVECTOR3 getPosition()
	{
		return position;
	}

	~Enemy()
	{
	}
};